package com.wbl.tijiancms.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;
import lombok.Data;

/**
 *
 * @TableName orders
 */
@TableName(value ="orders")
@Data
public class Orders implements Serializable {
    /**
     * 订单编号
     */
    @TableId(type = IdType.AUTO)
    private Integer orderid;

    /**
     * 预约日期
     */
    private Date orderdate;


    /**
     * 客户编号
     */
    private String userid;

    /**
     * 所属医院编号
     */
    private Integer hpid;

    /**
     * 所属套餐编号
     */
    private Integer smid;

    /**
     * 订单状态（1：未归档；2：已归档）
     */
    private Integer state;

    private Users user;

    private Setmeal setmeal;

    private Hospital hospital;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;

    public Orders() {
    }

    public Users getUser() {
        return user;
    }

    public void setUser(Users user) {
        this.user = user;
    }

    public Setmeal getSetmeal() {
        return setmeal;
    }

    public void setSetmeal(Setmeal setmeal) {
        this.setmeal = setmeal;
    }

    public Integer getState() {
        return state;
    }

    public void setState(Integer state) {
        this.state = state;
    }



}
